Hookey
Table of Contents
Overview
Hookey (classified across security software as Spyware:Win32/Hookey, Trojan:Win32/Hookey, and Win32/Hookey) is a covert Windows keystroke logging and monitoring spyware utility. Distributed through malicious email attachments, Trojanized utility archives, and corporate spear-phishing payloads, Hookey is engineered for prolonged espionage and surveillance. Upon execution, Hookey installs a global Windows user hook via the SetWindowsHookExW API with WH_KEYBOARD_LL (low-level keyboard hook) and WH_MOUSE_LL flags. This allows Hookey to intercept all keystrokes, clipboard modifications, and mouse clicks before they reach target application windows. Hookey captures active window titles, timestamps, and entered text (including corporate passwords, private messages, and financial data), buffering logs into encrypted local cache files before exfiltrating them over SMTP email or encrypted HTTP POST to an attacker server.
Known aliases
Threat reports may refer to this family under multiple names:
Family Pedigree & Lineage
Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:
Known Derivatives & Downstream Variants: Spyware:Win32/Hookey.A · Trojan:Win32/Hookey.B
MITRE ATT&CK Techniques
This family has been observed using the following ATT&CK techniques: T1056.001 · T1115 · T1547.001 · T1082 · T1041
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1056.001: Implement Endpoint Detection and Response (EDR) to monitor for suspicious API calls related to keystroke interception. Enforce Multi-Factor Authentication (MFA) to render stolen passwords useless.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-EAF | Egress Analysis and Filtering | Isolate | T1041 | Enforce perimeter TLS inspection and alert on anomalous outbound data volume ratios transmitting over active C2 channels. |
D3-MFA | Multi-factor Authentication | Harden | T1056.001 | Enforce FIDO2 / WebAuthn physical tokens to render keystroke-intercepted passwords useless. |
D3-SDA | System Discovery Analysis | Detect | T1082 | Alert on rapid enumerations of systeminfo, hostname, and registry hardware trees in short intervals. |
D3-CAC | Clipboard Access Control | Isolate | T1115 | Isolate virtual desktop infrastructure (VDI) clipboards and alert on rapid background clipboard querying by non-foreground processes. |
D3-RPM | Registry Persistence Monitoring | Detect | T1547.001 | Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management. |
Tiered Detection Rules (Cisco CAIRN Model)
Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_HOOKEY_T1_ARTIFACT {
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Hookey"
tier = "T1 - Primitive Artifact"
confidence = "Low-Medium (Fast Triage)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
$s1 = "hookey" ascii wide nocase
$s2 = "spyware:win32/hookey" ascii wide nocase
$s3 = "trojan:win32/hookey" ascii wide nocase
$s4 = "win32/hookey" ascii wide nocase
$s5 = "hookey keylogger" ascii wide nocase
$s6 = "spyware.hookey" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.
title: SystemHelpDesk Detection - Hookey (Spyware) Execution & Triage
id: 0e0848b9-5821-5ab2-b530-156aba04732f
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
with the Hookey malware family. Detects suspicious execution from temporary user
directories with hidden window flags and background transfer utilities.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/hookey
- https://malware-families-catalog.systemhelpdesk.com/defensive/ransomware-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.spyware
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1056_001
- attack.t1115
- attack.t1547_001
- attack.t1082
- attack.t1041
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \cmd.exe
- \powershell.exe
- \cscript.exe
- \wscript.exe
CommandLine|contains:
- AppData\Local\Temp
- -WindowStyle Hidden
- /e:jscript
- bitsadmin /transfer
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: medium
Tier 3 Attribution Fingerprint Rule (High Fidelity)
Deep signature matching distinctive operational fingerprints and payload characteristics.
rule MALWARE_WIN_HOOKEY_T3_ATTRIBUTION {
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Hookey tradecraft"
tier = "T3 - Attribution Fingerprint"
confidence = "High (Confirmed Family Signature)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
// Core family identifier & heuristic payload signatures
$attrib_str = "hookey" ascii wide nocase
$pe_magic = "MZ" ascii
$net_marker = "http" ascii nocase
condition:
uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
References & External Analysis
- Microsoft Defender Threat Encyclopedia - Spyware:Win32/Hookey
- Trend Micro Threat Encyclopedia - Spyware.Win32.Hookey
- Search "hookey" on VirusTotal (External Analysis)
- Search "hookey" on Any.Run (Sandbox Sandbox)
- Search "hookey" on MalwareBazaar (Malware Samples)
Frequently Asked Questions
What is Spyware:Win32/Hookey?
Hookey is a Windows keylogger and spyware utility that intercepts keystrokes, clipboard data, and application windows.
How does Hookey capture keystrokes on Windows?
It installs a low-level global keyboard hook using SetWindowsHookExW (WH_KEYBOARD_LL) to log keystrokes across all applications.
What sensitive information does Hookey target?
It captures login credentials, private chat messages, credit card numbers, and clipboard contents alongside active window titles.
How does Hookey exfiltrate stolen keystroke logs?
It encrypts collected log files and transmits them periodically via SMTP email or encrypted HTTP POST requests to attacker C2 servers.
How can organizations protect against Hookey spyware?
Deploy endpoint security software that detects SetWindowsHookEx API hooking, restrict macro execution, and enforce multi-factor authentication.
How do I remove the Hookey Spyware from Windows?
Manual removal of Hookey is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Hookey a virus or a Spyware?
Hookey is classified as a Spyware. Unlike traditional viruses that infect files, modern malware like Hookey typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Hookey infection?
Symptoms of Hookey can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against Spywares
Want to prevent Hookey and similar threats from compromising your organization? Read our comprehensive defensive guide: Spyware & Keylogger Protection.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/hookey.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.